package com.heima.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.heima.pojo.entity.SkuClass;
import lombok.Data;

import java.util.Date;

@Data
public class SkuVO {


    private Date createTime;
    private Date updateTime;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;
    private String skuName;
    private String skuImage;
    private Integer price;
    private Long classId;
    private Boolean discount;
    private String unit;
    private String brandName;
    private SkuClass skuClass;
}
